Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VV editor for EntProtoId? #4986

Merged
merged 1 commit into from
Mar 24, 2024
Merged

Conversation

wrexbe
Copy link
Contributor

@wrexbe wrexbe commented Mar 23, 2024

I was fixing this: space-wizards/space-station-14#26237

I noticed that there is at least one place that is only checking EntProtoId for null, and proceeding onward if it's not. That means that casting "" to an EntProtoId for EntProtoId? can result in a crash if you do it in VV. So to fix this rendering issue, and to prevent VV edited nullable EntProtoId's from causing a crash in a random system. I seperated the editor for the nullable EntProtoId, and the non-nullable EntProtoId.

@metalgearsloth metalgearsloth merged commit df0945f into space-wizards:master Mar 24, 2024
4 checks passed
@wrexbe wrexbe deleted the entprotoid branch March 24, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants